//
//  FileUtil.h
//
//  Created by 宋鹏程 on 14-4-8.
//  Copyright (c) 2014年 Master. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FileUtil : NSObject

+ (BOOL)existFile:(NSString *)v_path;

+ (NSData *)readFile:(NSString *)v_path;
+ (BOOL)writeFile:(NSData * )v_fileData andPath:(NSString *)v_path;
+ (BOOL)deleteFile:(NSString *)v_path;

+ (NSString *)getDocumentsFilePath:(NSString *)v_path andName:(NSString *)v_name;
+ (NSString *)getCachesFilePath:(NSString *)v_path andName:(NSString *)v_name;
+ (NSString *)getTmpFilePath:(NSString *)v_path andName:(NSString *)v_name;
+ (NSArray *)getDirectoryContentsAtPath:(NSString *)FolderPath;
+ (NSArray *)getSomeTypeFileAtPath:(NSString *)FolderPath type:(NSString *)type;
+ (BOOL)moveFile:(NSString *)fromPath toPath:(NSString *)toPath;




@end
